<?php
include_once substr(dirname(__FILE__), 0, strlen(dirname(__FILE__))-13).'include/common.inc.php';
$current_user = isset($_SESSION['current_user'])?$_SESSION['current_user']:false;
include APP_ROOT.'admin/include/global.func.php';
include_once APP_ROOT.'admin/include/site.class.php';
if($current_user===false)
{
	if(isset($edufepm) && $edufepm=='iframe')
	{
		$response->alert('请您登陆后再访问');
		$response->redirect($base_dir.'admin/login.php');
		$response->execute();
	}
	else
	{
		showmessage('请您登陆后再访问',$base_dir.'admin/login.php');
	}
}
?>